package com.example.assign2_list;

public class TodoTask {
	  private long id;
	  private int year;
	  private String country;

	  public long getId() {
	    return id;
	  }

	  public void setId(long id) {
	    this.id = id;
	  }

	  public String getTask() {
	    return year + ", " + country;
	  }
	  
	  public int getYear(){
		  return year;
	  }
	  
	  public String getCountry(){
		  return country;
	  }

	  public void setTask(int year, String country) {
	    this.year = year;
	    this.country = country;
	  }

	  @Override
	  public String toString() {
	    return year + ", " + country;
	  }
}
